package com.haixiaoke.saas.common.constant;

/**
 * 工单常量类
 *
 * @Author panda
 * @Date 2024/9/3
 **/
public class WorkOrderConstants {

    /**
     * 工单扫码支付redis key
     */
    public static String WORK_ORDER_NATIVE_PAY_REDIS_KEY = "workOrder-NativePay:";


    /**
     * 工单类型：维修单
     */
    public static String WORK_ORDER_TYPE_MAINTENANCE = "1";

    /**
     * 工单类型：保洁单
     */
    public static String WORK_ORDER_TYPE_CLEANING = "2";

    /**
     * 工单类型：看房单
     */
    public static String WORK_ORDER_TYPE_INTERMEDIARY = "3";

    /**
     * 工单状态:1.待派单
     */
    public static String WORK_ORDER_STATE_WAIT_DISPATCH = "1";

    /**
     * 工单状态:2.待接单
     */
    public static String WORK_ORDER_STATE_WAIT_RECEIVING = "2";

    /**
     * 工单状态:3.已接单
     */
    public static String WORK_ORDER_STATE_RECEIVED = "3";

    /**
     * 工单状态:4.处理中
     */
    public static String WORK_ORDER_STATE_IN_DISPOSE = "4";

    /**
     * 工单状态:5.待缴费
     */
    public static String WORK_ORDER_STATE_WAIT_PAY = "5";

    /**
     * 工单状态:6.已完成
     */
    public static String WORK_ORDER_STATE_COMPLETED = "6";

    /**
     * 工单状态:7.已取消
     */
    public static String WORK_ORDER_STATE_CANCELED = "7";

    /**
     * 工单状态:8.待审核
     */
    public static String WORK_ORDER_STATE_WAIT_AUDIT = "8";

    /**
     * 处理时限:1.1小时
     */
    public static String DISPOSE_TIME_LIMIT_ONE_HOUR = "1";

    /**
     * 处理时限:2.2小时
     */
    public static String DISPOSE_TIME_LIMIT_TWO_HOUR = "2";

    /**
     * 处理时限:3.4小时
     */
    public static String DISPOSE_TIME_LIMIT_FOUR_HOUR = "3";

    /**
     * 处理时限4.1天
     */
    public static String DISPOSE_TIME_LIMIT_ONE_DAY = "4";

    /**
     * 处理时限:5.2天
     */
    public static String DISPOSE_TIME_LIMIT_TWO_DAY = "5";

    /**
     * 处理时限:6.3天
     */
    public static String DISPOSE_TIME_LIMIT_THREE_DAY = "6";

    /**
     * 处理时限:7.不限制
     */
    public static String DISPOSE_TIME_LIMIT_UNLIMITED = "7";

    /**
     * 紧急程度:1.普通
     */
    public static String URGENCY_DEGREE_NORMAL = "1";

    /**
     * 紧急程度:2.紧急
     */
    public static String URGENCY_DEGREE_EXIGENCY = "2";

    /**
     * 紧急程度:3.非常紧急
     */
    public static String URGENCY_DEGREE_VERY_EXIGENCE = "3";


    /**
     * 显示类型: 1订单已生成
     */
    public static String DISPLAY_TYPE_ORDER_GENERATED = "1";

    /**
     * 显示类型: 2订单已修改
     */
    public static String DISPLAY_TYPE_ORDER_MODIFIED = "2";

    /**
     * 显示类型: 3等待接单中
     */
    public static String DISPLAY_TYPE_WAITING_FOR_ACCEPTANCE = "3";

    /**
     * 显示类型: 4订单已接单
     */
    public static String DISPLAY_TYPE_ORDER_ACCEPTED = "4";

    /**
     * 显示类型: 5预计上门时间
     */
    public static String DISPLAY_TYPE_EXPECTED_VISIT_TIME = "5";

    /**
     * 显示类型: 6上传图片（服务前）
     */
    public static String DISPLAY_TYPE_UPLOAD_IMAGE_BEFORE_SERVICE = "6";

    /**
     * 显示类型: 7上传图片（服务后）
     */
    public static String DISPLAY_TYPE_UPLOAD_IMAGE_AFTER_SERVICE = "7";

    /**
     * 显示类型: 8待缴费
     */
    public static String DISPLAY_TYPE_PENDING_PAYMENT = "8";

    /**
     * 显示类型: 9订单已完成
     */
    public static String DISPLAY_TYPE_ORDER_COMPLETED = "9";

    /**
     * 显示类型: 10订单已评价
     */
    public static String DISPLAY_TYPE_ORDER_EVALUATED = "10";

    /**
     * 显示类型: 11订单已取消
     */
    public static String DISPLAY_TYPE_ORDER_CANCELLED = "11";


    /**
     * 记录类型: 1全可见
     */
    public static String RECORD_TYPE_ALL_VISIBLE = "1";

    /**
     * 记录类型: 2企业可见
     */
    public static String RECORD_TYPE_COMPANY_VISIBLE = "2";

    /**
     * 记录类型: 3用户可见
     */
    public static String RECORD_TYPE_USER_VISIBLE = "3";


    /**
     * 支付类型: 1扫码支付
     */
    public static final String PAYMENT_TYPE_SCAN_CODE = "1";

    /**
     * 支付类型: 2小程序支付
     */
    public static final String PAYMENT_TYPE_MINI_PROGRAM = "2";

    /**
     * 支付类型: 3支付凭证
     */
    public static final String PAYMENT_TYPE_PAYMENT_VOUCHER = "3";


    /**
     * 工单是否评价(0.否,1.是)
     */
    public static final String ESTIMATION_FLAG_YES = "1";

    /**
     * 工单是否评价(0.否,1.是)
     */
    public static final String ESTIMATION_FLAG_NO = "0";


    /**
     * 工单来源:1.平台
     */
    public static final String WORK_ORDER_SOURCE_ENTERPRISE = "1";

    /**
     * 工单来源:2.b端小程序
     */
    public static final String WORK_ORDER_SOURCE_B_APPLET = "2";

    /**
     * 工单来源:2.c端小程序
     */
    public static final String WORK_ORDER_SOURCE_C_APPLET = "3";

    /**
     * 工单人员类型：1.维修员；
     */
    public static final String WORK_ORDER_PERSON_TYPE_MAINTENANCE = "1";

    /**
     * 工单人员类型：2.保洁员；
     */
    public static final String WORK_ORDER_PERSON_TYPE_CLEANER = "2";

    /**
     * 工单人员类型：3.带看员；
     */
    public static final String WORK_ORDER_PERSON_TYPE_ATTENDANT = "3";


    /**
     * 工单临时密码申请状态：0.未申请 1.已申请 2.已拒绝
     */
    public static final String WORK_ORDER_TEMP_PASSWORD_APPLY_STATUS_NOT_APPLY = "0";

    /**
     * 工单临时密码申请状态：0.未申请 1.已申请 2.已拒绝
     */
    public static final String WORK_ORDER_TEMP_PASSWORD_APPLY_STATUS_APPLY = "1";

    /**
     * 工单临时密码申请状态：0.未申请 1.已申请 2.已拒绝
     */
    public static final String WORK_ORDER_TEMP_PASSWORD_APPLY_STATUS_REFUSE = "2";


    /**
     * 工单临时密码审核状态: 0待审核 1同意 2拒绝
     */
    public static final String WORK_ORDER_TEMP_PASSWORD_AUDIT_STATUS_NOT_AUDIT = "0";
    /**
     * 工单临时密码审核状态: 0待审核 1同意 2拒绝
     */
    public static final String WORK_ORDER_TEMP_PASSWORD_AUDIT_STATUS_AGREE = "1";
    /**
     * 工单临时密码审核状态: 0待审核 1同意 2拒绝
     */
    public static final String WORK_ORDER_TEMP_PASSWORD_AUDIT_STATUS_REFUSE = "2";


    /**
     * 工单支付方式: 1 微信支付 2 扫码
     */
    public static final String WORK_ORDER_PAYMENT_TYPE_WECHAT = "1";

    /**
     * 工单支付方式: 1 微信支付 2 扫码
     */
    public static final String WORK_ORDER_PAYMENT_TYPE_SCAN = "2";
}
